package com.p2p.wallet.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.service.IService;
import com.p2p.account.po.Account;
import com.p2p.common.base.BaseServiceImpl;
import com.p2p.user.mapper.PermissionMapper;
import com.p2p.user.po.Permission;
import com.p2p.user.vo.PermissionVo;
import com.p2p.wallet.mapper.WalletMapper;
import com.p2p.wallet.po.Wallet;
import com.p2p.wallet.service.WalletService;
import com.baomidou.mybatisplus.service.IService;
@Service
public class WalletServiceImpl extends BaseServiceImpl<WalletMapper, Wallet> implements WalletService {

	@Autowired
	private WalletMapper walletMapper;

	@Override
	public List<Wallet> selectPermissionByRoleId(int group_id, int coin_id, String name, String wallet_address) {
		return walletMapper.selectWallet(group_id, coin_id, name, wallet_address);
	}

	@Override
	public List <Account>  selectagentid(String connect_pool) {
		
		// TODO Auto-generated method stub
		return walletMapper.selectagentid(connect_pool);
	}

}
